package wang.hongyun.pojo;

import java.util.Date;

public class Jbpm_transition {
    private Long id;

    private String name;

    private String description;

    private Long processdefinition;

    private Long from;

    private Long to;

    private String condition;

    private Integer fromindex;

    private Date createtime;

    private Date updatetime;

    public Jbpm_transition(Long id, String name, String description, Long processdefinition, Long from, Long to, String condition, Integer fromindex, Date createtime, Date updatetime) {
        this.id = id;
        this.name = name;
        this.description = description;
        this.processdefinition = processdefinition;
        this.from = from;
        this.to = to;
        this.condition = condition;
        this.fromindex = fromindex;
        this.createtime = createtime;
        this.updatetime = updatetime;
    }

    public Jbpm_transition() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public Long getProcessdefinition() {
        return processdefinition;
    }

    public void setProcessdefinition(Long processdefinition) {
        this.processdefinition = processdefinition;
    }

    public Long getFrom() {
        return from;
    }

    public void setFrom(Long from) {
        this.from = from;
    }

    public Long getTo() {
        return to;
    }

    public void setTo(Long to) {
        this.to = to;
    }

    public String getCondition() {
        return condition;
    }

    public void setCondition(String condition) {
        this.condition = condition == null ? null : condition.trim();
    }

    public Integer getFromindex() {
        return fromindex;
    }

    public void setFromindex(Integer fromindex) {
        this.fromindex = fromindex;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }
}